home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xaw / templatep.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  58 lines

  1. /* $XConsortium: TemplateP.h,v 1.6 91/03/13 20:12:07 rws Exp $ */
  2.  
  3. /* Copyright    Massachusetts Institute of Technology    1987, 1988
  4.  *
  5.  * Permission to use, copy, modify, distribute, and sell this software and its
  6.  * documentation for any purpose is hereby granted without fee, provided that
  7.  * the above copyright notice appear in all copies and that both that
  8.  * copyright notice and this permission notice appear in supporting
  9.  * documentation, and that the name of M.I.T. not be used in advertising or
  10.  * publicity pertaining to distribution of the software without specific,
  11.  * written prior permission.  M.I.T. makes no representations about the
  12.  * suitability of this software for any purpose.  It is provided "as is"
  13.  * without express or implied warranty.
  14.  *
  15.  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  16.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
  17.  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  18.  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  19.  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  20.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  21.  *
  22.  */
  23.  
  24. #ifndef _TemplateP_h
  25. #define _TemplateP_h
  26.  
  27. #include <X11/Xaw/Template.h>
  28. /* include superclass private header file */
  29. #include <X11/CoreP.h>
  30.  
  31. /* define unique representation types not found in <X11/StringDefs.h> */
  32.  
  33. #define XtRTemplateResource "TemplateResource"
  34.  
  35. typedef struct {
  36.     int empty;
  37. } TemplateClassPart;
  38.  
  39. typedef struct _TemplateClassRec {
  40.     CoreClassPart    core_class;
  41.     TemplateClassPart    template_class;
  42. } TemplateClassRec;
  43.  
  44. extern TemplateClassRec templateClassRec;
  45.  
  46. typedef struct {
  47.     /* resources */
  48.     char* resource;
  49.     /* private state */
  50. } TemplatePart;
  51.  
  52. typedef struct _TemplateRec {
  53.     CorePart        core;
  54.     TemplatePart    template;
  55. } TemplateRec;
  56.  
  57. #endif /* _TemplateP_h */
  58.